package sData


type CfgBad_ball struct {
	_cfg_id			int64
	_tp			ThemeType
	_level			int64
}

func (myself *CfgBad_ball) GetTableName() string {
    return "bad_ball"
}
/**
 * 
 */
func (myself *CfgBad_ball) GetCfg_id() int64 {
	return myself._cfg_id
}

/**
 * 
 */
func (myself *CfgBad_ball) GetTp() ThemeType {
	return myself._tp
}

/**
 * 
 */
func (myself *CfgBad_ball) GetLevel() int64 {
	return myself._level
}

func NewCfgBad_ball(row []interface{}) interface{} {
	newObj := &CfgBad_ball{}
	if row==nil {return newObj}
	newObj._cfg_id = int64(row[0].(float64))
	newObj._tp = ThemeType(row[1].(float64))
	newObj._level = int64(row[2].(float64))
	return newObj
}

const (
	TableBad_ballName = "bad_ball"
)